 //获取n——m之间的数,获取x个
export function randoms(n, m, x){
  var arr = [];
  for (let i = 0; i < x; i++) {
    var num = parseInt(Math.random() * (m - n + 1)) + n;
    arr.push(num);
  }
  return arr;
}